package com.bussiness.system.dao;

import com.bussiness.system.model.ManagerUserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ManagerDao {
    int deleteByPrimaryKey(Long id);

    int insert(ManagerUserEntity record);

    int insertSelective(ManagerUserEntity record);

    ManagerUserEntity selectByPrimaryKey(Long id);

    ManagerUserEntity selectByName(String userName);

    List<ManagerUserEntity> selectManagerUser();

    int updateByPrimaryKeySelective(ManagerUserEntity record);

    int updateByPrimaryKey(ManagerUserEntity record);
}